<template>
  <div class="aside">
    <div class="intro">
      <div class="intro-text">已经有账号？</div>
      <router-link tag="div" to="/login">
        <div class="intro-btn">立即登录</div>
      </router-link>
    </div>
  </div>
</template>

<script>
export default {
  name: 'RegistAside'
}
</script>

<style lang="stylus" scoped>
  @import '~assets/css/mixins.styl';
  .aside
    position: absolute;
    right: 2rem
    top: 1.4rem
    border-left: .03rem dotted $borderColor
    .intro
      margin: .3rem 0 .5rem .5rem
      .intro-text
        font-size: .24rem
        color: $font-black
        margin-bottom: .2rem
      .intro-btn
        font-size: .28rem
        color: $font-black
        width: 1.88rem
        height: .62rem
        line-height: .62rem
        text-align: center
        padding: .2rem auto
        background: linear-gradient(to bottom, $bgcolor-white , #e9e9e9)
        border: .02rem solid #b1aeae
        border-radius: .08rem
      .intro-btn:hover
        color: $font-black
        background: linear-gradient(to bottom, #fbfbfb , #ddd)
        cursor: pointer
</style>